package com.map.hashmap;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;

public class SimpleOne {
public static void main(String[] args) {
	HashMap hm=new HashMap();
	hm.put(101, "deepak");
	hm.put(102, "kumar");
	hm.put(103, "goswami");
	Set s=hm.entrySet();
	Iterator itr=s.iterator();
	while(itr.hasNext()){
	//	System.out.println(itr.next());
		Map.Entry entry=(Map.Entry)itr.next();
		System.out.println(entry.getKey()+"\t"+entry.getValue());
	}
}
}
